<script type="text/ng-template" id="template-publish.html">
    <h3>首页内容管理</h3>

    <ul class="nav nav-tabs">
      <li role="presentation" class="active"><a href="#/publish">新闻文章</a></li>
      <li role="presentation"><a href="#/blog/slides">轮播图</a></li>
    </ul>

    <div class="container-fluid">
        <div class="row">
          <h4>
            文章列表 
            <a href="#/blog/add" class="btn btn-primary btn-sm pull-right"><i class="fa fa-plus-circle"></i> 新增文章</a>
          </h4>
          <hr>
          <div class="list-group">
            <a href="#/blog/detail/{{article.id}}" class="list-group-item" ng-repeat="article in articleList">
              <i class="fa fa-file-text-o"></i>&nbsp;&nbsp;
              {{article.title}}
              <span class="badge" style="font-weight: normal;">{{ article.createdat }}</span>
            </a>
          </div>
        </div>
        
        <div class="row">
        	
        </div>

    </div>
</script>